<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
	<head th:replace="/pc/common::head(~{::custom_settings})">
		<th:block th:fragment="custom_settings">
			<title>模拟线下订单</title>
		</th:block>
	</head>
	<body>
		<div style="float: left; width: 50%;">
		    <table class="around_list" style="margin: 10px auto;">
		        <tr>
		            <td class="lg"><label>市场：</label></td>
		            <td class="lg">
		                <div id="markets" class="search-select" idField="entityid" textField="marketname" onvaluechanged="marketschanged" width="220" height="26"></div>
		            </td>
		            <td class="lg"><label>商户：</label></td>
		            <td class="lg" colspan="4">
		                <div id="merchants" class="search-select" idField="entityid" textField="accountname" onvaluechanged="merchantschanged" width="220" height="26"></div>
		            </td>
		            <td class="lg"><label>商品个数：</label></td>
		            <td class="lg">
		                <div id="goodsnum" class="search-textbox" onvaluechanged="goodsnumchanged" width="60" height="26"></div>
		            </td>
		        </tr>
		     </table>
		     <table id="goods" class="around_list" style="margin: 10px auto;">
		        <tr id="totalinfo">
		        	<td class="lg"><label>总价：</label></td>
		            <td class="lg">
		                <div id="totalprice" class="search-label" width="220" height="26"></div>
		            </td>
		            <td class="lg" colspan="4">
						<button onclick="confirm();">提交订单</button>
					</td>
		        </tr>
		    </table>
	    </div>
	    <div style="float: left; width: 50%; margin: auto;" id="qrcode-image"></div>
		<script type="text/javascript" th:src="@{{js}/pc/orders/offlineOrderHandler.js(js=${js})}"></script>
	</body>
</html>
